import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service
//加工发料
const request = {
    //根据条件分页查询加工发料根
    processIssue (params) {
        return httpPost({
            url: 'material/processingIssue/listByEntity',
            params
        })
    },
    //新增加工发料
    AddProcessIssue (params) {
        return httpPost({
            url: '/material/processingIssue/create',
            params
        })
    },

    //修改加工发料
    EditProcessIssue (params) {
        return httpPost({
            url: '/material/processingIssue/update',
            params
        })
    },
    ////修改成品物资明细
    EditProcessIssueList (params) {
        return httpPost({
            url: '/material/processingIssue/updateFinishedGoodsList',
            params
        })
    },
    //原物资
    EditRawMaterialsList (params) {
        return httpPost({
            url: '/material/processingIssue/updateRawMaterialsList',
            params
        })
    },
    //关联合同信息
    relevanceConInfo (params) {
        return httpPost({
            url: '/material/processingIssue/relatedContract',
            params
        })
    },
}

export default request